package com.yu.oss.service;

import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 路亚
 * @version 0.1
 * @className FileService
 * @description
 * @date 2025/1/9 20:20
 * @since jdk11
 */
@Service
public class FileService {

    private final StorageService storageService;

    public FileService(StorageService storageService) {
        this.storageService = storageService;
    }

    public List<String> getAllBucket() {
        return storageService.getAllBucket();
    }
}
